package com.ithiema.classloader.Demo1;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class Demo1 {
    public static void main(String[] args) throws IOException {
        ClassLoader cl=ClassLoader.getSystemClassLoader();
        InputStream is = cl.getResourceAsStream("pop.properties");
        Properties p=new Properties();
        p.load(is);
        System.out.println(p);
    }
}
